From 4c5cd51df95c41d3ba7f14f49c7918697971df5a Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Mon, 20 Jul 2015 16:55:00 +0200 Subject: [PATCH] libxl: include sys/endian.h for FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit be64toh and friends are declared in sys/endian.h on FreeBSD, so include it as part of libxl_osdeps.h. Signed-off-by: Roger Pau Monné Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Acked-by: Wei Liu --- tools/libxl/libxl_osdeps.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/libxl_osdeps.h b/tools/libxl/libxl_osdeps.h index 08eaf0c201..b265df89cf 100644 --- a/tools/libxl/libxl_osdeps.h +++ b/tools/libxl/libxl_osdeps.h @@ -42,6 +42,7 @@ #define SYSFS_PCIBACK_DRIVER "/dev/null" #define NETBACK_NIC_NAME "xnb%u.%d" #include +#include #endif #ifndef SYSFS_PCIBACK_DRIVER -- 2.30.2